package com.cuiweiyou.vigilesmicrecord.ui;

import android.os.Bundle;
import android.view.View;

import com.cuiweiyou.vigilesmicrecord.R;
import com.cuiweiyou.vigilesmicrecord.base.BaseActivity;
import com.cuiweiyou.vigilesmicrecord.base.ContantValue;

public class FlashActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_flash);
        getWindow().getDecorView().setSystemUiVisibility(
                View.SYSTEM_UI_FLAG_HIDE_NAVIGATION |
                        View.SYSTEM_UI_FLAG_FULLSCREEN |
                        View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
    }

    @Override
    protected void onResume() {
        super.onResume();
        delayNextActivityAndFinishCurrent(MainActivity.class, ContantValue.NUMBER_DELAY_1000);
    }
}


